package com.origin.chaos.security.bean.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;

/**
 * @author: tao.ding
 * @date 2021-07-16
 */
@Data
public class LoginVo {

    @NotBlank(message = "登录邮箱必填")
    @ApiModelProperty(value = "用户登录邮箱", required = true)
    private String email;

    @NotBlank(message = "密码必填")
    @ApiModelProperty(value = "用户登录密码", required = true)
    private String password;
}
